/*
 * @Author: 刘思思
 * @Date: 2024-11-29 11:33:38
 * @LastEditors: 刘思思
 * @LastEditTime: 2024-11-29 16:43:43
 * @FilePath: /AdvertisingMachine/common/msgQueue/inc/msgUtils.h
 * @Description: 
 * 
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved. 
 */
#ifndef MSGUTILS_H
#define MSGUTILS_H
#include <unistd.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <stdio.h>
#define ADS_BOA_MAIN_ID  1 
typedef struct message
{
   long type;
   char content[256];
} Msg;
int obtain_msg_queue(char *pathName,int proId);
#endif